package com.hst.capacity.infra.persistence.mybatis;

import com.hst.capacity.domain.model.request.invoice.InvoiceLstParam;
import com.hst.capacity.domain.model.response.invoice.InvoiceVO;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InvoiceMapper {

    List<InvoiceVO> searchWithConditionsAndPaging(InvoiceLstParam param);
    Long searchWithConditionsAndPagingTotal(InvoiceLstParam param);

    List<InvoiceVO> findAllInvoiceLst(InvoiceLstParam param);

    void updInvoicePdfUrl(@Param("idInvoice") String idInvoice, @Param("invoiceStatus") int invoiceStatus, @Param("invoiceUrl") String invoiceUrl);

}
